crypto/internal/fips140/ecdh.PublicKey.curve (field)
8 uses
crypto/internal/fips140/ecdh (current package)
cast.go#L41: k := &PrivateKey{d: privateKey, pub: PublicKey{curve: p256}}
cast.go#L42: peer := &PublicKey{curve: p256, q: publicKey}
ecdh.go#L39: curve curveID
ecdh.go#L213: k := &PrivateKey{d: bytes.Clone(key), pub: PublicKey{curve: c.curve, q: publicKey}}
ecdh.go#L231: return &PublicKey{curve: c.curve, q: bytes.Clone(key)}, nil
ecdh.go#L241: if c.curve != k.pub.curve {
ecdh.go#L244: if k.pub.curve != peer.curve {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)